package org.spring.springboot.app.adv.advcommunityaround.dao;

import org.apache.ibatis.annotations.Param;
import org.spring.springboot.app.adv.advcommunityaround.domain.po.AdvCommunityAroundPO;
import org.spring.springboot.app.adv.advcommunityaround.domain.po.AdvCommunityAroundPO;
import org.spring.springboot.app.adv.advcommunityaround.domain.vo.AdvCommunityAroundSearchVO;

import java.util.List;

public interface AdvCommunityAroundDao {
    int deleteByPrimaryKey(String id);

    int insert(AdvCommunityAroundPO record);

    int insertSelective(AdvCommunityAroundPO record);

    AdvCommunityAroundPO selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(AdvCommunityAroundPO record);

    int updateByPrimaryKey(AdvCommunityAroundPO record);

    List<AdvCommunityAroundPO> findPage(AdvCommunityAroundSearchVO searchVO, @Param("pageNum") int pageNum, @Param("pageSize") int pageSize);
}